import Vue from 'vue'
import Router from 'vue-router'
import Hello from '@/components/Hello'
import Home from '@/pages/Home.vue';
import Regist from "@/pages/Regist.vue"
import Login from "@/pages/Login.vue";
import Usermsg from "@/pages/Usermsg.vue";
import Houselist from "@/pages/Houselist.vue";
import Houseinfo from "@/pages/Houseinfo.vue";
import Myshoucang from "@/pages/Myshoucang.vue";
import Homesearch from "@/pages/Homesearch.vue";
import Houseprice from "@/pages/Houseprice.vue";
import Wenda from "@/pages/Wenda.vue";
import Yimuliaoran from "@/pages/Yimuliaoran.vue";
import Secondhouse from "@/pages/Secondhouse.vue";
import Jisuan from "@/pages/Jisuan.vue";
import Visitivehouse from "@/pages/Visitivehouse.vue";
import Zhuangxiu from "@/pages/Zhuangxiu.vue";
import Myvisitiveteam from "@/pages/Myvisitiveteam.vue";



Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      component: Home
    }, 
    {
      path: '/regist',
      component: Regist
    }, 
    {
      path: '/login',
      component: Login
    },
    {
      path: '/usermsg',
      component: Usermsg
    },
    {
      path: '/houselist/:type',
      component: Houselist
    },
    {
      path: '/houseinfo/:id',
      component: Houseinfo
    },
    {
      path: '/myshoucang/:id',
      component: Myshoucang
    },
    {
      path: '/homesearch',
      component: Homesearch
    },
    {
      path: '/houseprice',
      component: Houseprice
    },
    {
      path: '/wenda',
      component: Wenda
    },
    {
      path: '/yimuliaoran',
      component: Yimuliaoran
    },
    {
      path: '/secondhouse',
      component: Secondhouse
    },
    {
      path: '/jisuan',
      component: Jisuan
    },
    {
      path: '/visitivehouse',
      component: Visitivehouse
    },
    {
      path: '/zhuangxiu',
      component: Zhuangxiu
    },
    {
      path: '/myvisitiveteam',
      component: Myvisitiveteam
    },
  ]
})
